<!DOCTYPE html>
<style>
body:not(.ready) #content { color: red; }
</style>
<body class="ready">
  <div id="target">
    <div>
      <div id="content">
        Not red.
      </div>
    </div>
  </div>
  <div id="host">
  </div>
</body>
